<%-- 
    Document   : index
    Created on : Oct 21, 2008, 7:22:59 PM
    Author     : menandro.neto
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    
    <body>
        <h2>Aula 07</h2>
        <h3>Calculadora com uso de servlet</h3>
            
        <form name="frmCalculadora" action="Calcula">
        
        <table border="1">
            <thead>
                <tr>
                    <th colspan="3" align="center"> <em>Calculadora</em></th>
                </tr>
            </thead>
            
            <tbody>
                <tr>
                    <td colspan="3" align="center">
                        <input type="submit" value="+" name="operacao" />
                    </td>
                </tr>
                
                <tr>
                    <td>
                        <input type="text" name="txtValor1" value="" size="5" />
                    </td>
                    <td align="center">
                        <input type="submit" value="-" name="operacao" />
                    </td>
                    <td>
                        <input type="text" name="txtValor2" value="" size="5" />
                    </td>
                </tr>
                
                <tr>
                    <td colspan="3" align="center">
                        <input type="submit" value="x" name="operacao" />
                    </td>
                </tr>
                <tr>
                    <td colspan="3" align="center">
                        <input type="submit" value="/" name="operacao" />
                    </td>
                </tr>
            </tbody>
        </table>
        
        </form>    
        
    </body>
</html>
